package com.wdm.diffutils.user;

/**
 * @author: wudaiming
 * @date: 2023/10/27
 * @version: 1.0
 * @description:
 */

import lombok.AllArgsConstructor;
import lombok.Data;

@Data
@AllArgsConstructor
public class Item implements Comparable<Item>{
    private Integer id;
    private String name;

    @Override
    public int compareTo(Item o) {
        return this.id.compareTo(o.id);
    }
}
